package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 车速溯源对象 carspeedtask
 * 
 * @author ruoyi
 * @date 2024-11-29
 */
public class Carspeedtask
{
    private static final long serialVersionUID = 1L;

    /** 主键唯一 */
    private String ID;

    /** 任务ID */
    @Excel(name = "任务ID")
    private String TaskID;

    /** 历史系数 */
    @Excel(name = "历史系数")
    private Long C0;

    /** 当前系数 */
    @Excel(name = "当前系数")
    private Long C1;

    public Date getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Date createTime) {
        CreateTime = createTime;
    }

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date CreateTime;
    public void setID(String ID) 
    {
        this.ID = ID;
    }

    public String getID() 
    {
        return ID;
    }
    public void setTaskID(String TaskID) 
    {
        this.TaskID = TaskID;
    }

    public String getTaskID() 
    {
        return TaskID;
    }
    public void setC0(Long C0) 
    {
        this.C0 = C0;
    }

    public Long getC0() 
    {
        return C0;
    }
    public void setC1(Long C1) 
    {
        this.C1 = C1;
    }

    public Long getC1() 
    {
        return C1;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("TaskID", getTaskID())
            .append("CreateTime", getCreateTime())
            .append("C0", getC0())
            .append("C1", getC1())
            .toString();
    }
}
